
/**
* -----Tag folder-----
* http://code.google.com/p/tagfolder
* Licensed under LGPL
* chuanshenglu@gmail.com
* xrjieyee@gmail.com
*
*/

#ifndef __CLIENT_STUB_IMPL_H__
#define __CLIENT_STUB_IMPL_H__

#include <stdio.h>
#include <windows.h>
#include <TCHAR.h>
#include "TFChannel.h"
#include <string>

/**
 *Send data to default channel;
 *
 */
bool SendData(void *data,unsigned long size);

/**
 *Send command to default channel;
 */
bool SendCommand(TFMessage &msg);

/**
 *Receive command from the channel;
 */
TFMessage ReceiveCommand();

/**
 *Retrieve std::string from default channel;
 */
std::string ReceiveString();

/**
 *Get process ID from its name;
 */
DWORD GetProcessIdFromName(const TCHAR *name);

#endif
